docs: GtkAspectFrame is not a GtkFrame any more
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 Jan 2021 12:23:14 +0000 (12:23 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 Jan 2021 12:23:14 +0000 (12:23 +0000)
gtk/gtkaspectframe.c

index 916f307dafd89096aa4dc9b45b559836068174f2..45a9bf80e125d1a663ebfc9c4b8824947ed2c4ba 100644 (file)
  * @Short_description: A frame that constrains its child to a particular aspect ratio
  * @Title: GtkAspectFrame
  *
- * The #GtkAspectFrame is useful when you want
- * pack a widget so that it can resize but always retains
- * the same aspect ratio. For instance, one might be
- * drawing a small preview of a larger image. #GtkAspectFrame
- * derives from #GtkFrame, so it can draw a label and
- * a frame around the child. The frame will be
- * “shrink-wrapped” to the size of the child.
+ * GtkAspectFrame is useful when you want pack a widget so that it can resize
+ * while retaining the same aspect ratio. For instance, one might be drawing a
+ * small preview of a larger image.
+ *
+ * The frame can respect the aspect ratio of the child widget, or use its own
+ * aspect ratio.
  *
  * # CSS nodes
  *
- * GtkAspectFrame uses a CSS node with name frame.
+ * GtkAspectFrame uses a CSS node with name `frame`.
  */
 
 #include "config.h"